package com.ch.databinddemo

import android.content.Context
import android.content.Intent
import android.view.View

class EventHandlerListener(private val context: Context) {

    fun buttonOnClick(view: View) {
//        Toast.makeText(context, "喜欢", Toast.LENGTH_LONG).show()
        val intent = Intent(context, BindActivity::class.java)
        context.startActivity(intent)
    }

}